package com.springcloud.authentication.common.jwt;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 配置信息的实体类，以便获取jwt的配置
 * @author Administrator
 *
 */
@ConfigurationProperties(prefix = "audience")
@Component
public class Audience {
	private String clientId;
	private String base64Secret;
	private String name;
	private int expiresSecond;
	private int refreshSecond;
	
	public String getClientId() {
		return clientId;
	}
	public void setClientId(String clientId) {
		this.clientId = clientId;
	}
	public String getBase64Secret() {
		return base64Secret;
	}
	public void setBase64Secret(String base64Secret) {
		this.base64Secret = base64Secret;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getExpiresSecond() {
		return expiresSecond;
	}
	public void setExpiresSecond(int expiresSecond) {
		this.expiresSecond = expiresSecond;
	}
	public int getRefreshSecond() {
		return refreshSecond;
	}
	public void setRefreshSecond(int refreshSecond) {
		this.refreshSecond = refreshSecond;
	}

	
	
	
	
}
